package com.liuyu.common.framework.insurance.picc.gd.vo.request.correct;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @ClassName PiccGdCorrectRequestBody
 * @Author: liuyu
 * @Date: Created in 2021/5/2 0:31
 * @Version: 1
 * @Modified By:
 */
@Data
public class PiccGdCorrectRequestBody {

    /**
     * 批改类型——关系人批改
     */
    public static final String EDIT_TYPE_RELATION = "2";
    /**
     * 批改类型-保险期限批改
     */
    public static final String EDIT_TYPE_DATE = "5";

    @XStreamAlias("policyno")
    private String policyNo;
    @Schema(description = "批改类型", name = "2：关系人批改，5：保险期限批改")
    private String editType;
    private String endorseDate;
    private String validDate;
    private String validHour;
    @Schema(description = "批改原因", name = "01:业务扩展需要，02：变更关系人，03：变更标的，04：其他，05：由于赔付终止，07：客户申请，08：操作失误")
    @XStreamAlias("reasonCode")
    private String reasonCode;
    @Schema(description = "短期费率方式", name = "3：不计         1:月比例          2：日比例")
    private String shortRateFlag;
    @Schema(description = "自定义批文标志", name = "1代表自定义批文 0代表系统生成批文；（如果值1但是未传自定义批文，则采用系统生成的批文）")
    @XStreamAlias("isPtextFlag")
    private String pTextFlag;
    @Schema(description = "是否见费标志", name = "1：表示送见费0：表示不送见费（只有在批增业务情况下，该标志位有效。不传则认为送见费）")
    @XStreamAlias("sendJfeeFlag")
    private String sendFeeFlag;

    @Schema(description = "是否自动核批通过标志", name = "1:表示自动核保通过0：表示人工核保通过（该标志位为空时，人工核保通过）")
    private String autoUndWrtFlag;
    private String endorseText;
    private PiccGdCorrectInfo correctInfo;
}
